using UnityEngine;

/// <summary>
/// 光标信息
/// </summary>
public struct Cursor
{
    /// <summary>
    /// 光标位置
    /// </summary>
    public Vector2 pos;

    /// <summary>
    /// 是否可见
    /// </summary>
    public bool isVisibility;

    public Cursor(Vector2 pos, bool isVisibility = false)
    {
        this.pos = pos;
        this.isVisibility = isVisibility;
    }
}